[Manager Summary]

PMSetResolution


Sets your application drawing resolution.
OSStatus PMSetResolution(PMPageFormat pageFormat, const PMResolution res)
PARAMETERS
pageFormat
A PMPageFormat object previously created by your application. Pass the object containing the resolution you want to set.
res
A pointer to a structure of type PMResolution. Before calling this function, supply this structure with the resolution at which you want to print.

function result
A result code. See Result Codes.
DISCUSSION
You can set your application drawing resolution by calling this function. The initial default value is obtained from the printer and will usually be 72dpi. The list of available resolutions supported for rendering can be obtained by calling PMGetPrinterResolution, PMGetPrinterResolutionCount and PMGetIndexedPrinterResolution.
CARBON PORTING NOTES
 This function replaces the Printing Manager opcode getRslDataOp and allows you to change information formerly stored in the iVRes and iHRes fields of the Printing Manager structure TPrInfo.

Last modified: 5/7/99. Status: Draft Copyright 1999 Apple Computer, Inc. All rights reserved.